//
//  PPProfileTableViewSectionHeaderView.h
//  pickpic
//
//  Created by Jinxiao on 10/5/16.
//  Copyright © 2016 MicroDream. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "PPAlbumObject.h"

@class PPProfileTableViewSectionHeaderView;

@protocol PPProfileTableViewSectionHeaderViewDelegate <NSObject>

- (void)sectionHeaderView:(PPProfileTableViewSectionHeaderView *)sectionHeaderView didSelectShareAlbum:(PPAlbumObject *)album;

- (void)sectionHeaderView:(PPProfileTableViewSectionHeaderView *)sectionHeaderView didSelectCommentListForAlbum:(PPAlbumObject *)album;

@end

@interface PPProfileTableViewSectionHeaderView : UIView

@property (readwrite, nonatomic, weak) id<PPProfileTableViewSectionHeaderViewDelegate> delegate;

@property (readwrite, nonatomic, strong) PPAlbumObject *album;

@property (nonatomic, weak) UIViewController *delegateViewController;

+ (CGFloat)heightForAlbum:(PPAlbumObject *)album;

@end
